package com.zy.utils.data

import android.graphics.Canvas
import android.graphics.Color
import android.graphics.Paint
import com.zy.utils.CanvasUtils.drawTextCenter

//下标
class SubScriptPoint(builder: Builder) : Point(
    builder
) {
    public override fun drawV(canvas: Canvas, paint: Paint) {
        paint.color = Color.GREEN
        drawTextCenter(canvas, paint, centerX, centerY, v)
    }

    public override fun drawBackground(canvas: Canvas, paint: Paint) {
        //不需要
    }
}